package br.gov.mi.corporativo.dominio.boundary.rhmi.cargocomissionado;

import java.util.List;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;

import br.gov.mi.corporativo.dominio.entidade.rhmi.CargoComissionado;

@WebService
public interface CargoComissionadoEndPoint {
	
	@WebMethod(operationName = "recuperarTodosCargosComissionados")
	public @WebResult(name="listaCargosComissionados")List<CargoComissionado> recuperarTodos(); 

	
	@WebMethod(operationName = "recuperarCargoComissionadoPorId")
	public @WebResult(name="cargoComissionado")CargoComissionado recuperarPorId(@WebParam(name="id")Long id); 
	
	@WebMethod(operationName = "recuperarCargoComissionadoPorNome")
	public @WebResult(name="listaCargosComissionados")List<CargoComissionado> recuperarPorDescricao(@WebParam(name="nome")String nome);

	@WebMethod(operationName = "recuperarCargoComissionadoPorAtivo")
	public @WebResult(name="listaCargosComissionados")List<CargoComissionado> recuperarPorAtivo(@WebParam(name="ativo")String ativo);

}
